Refactor - Remove duplicate code - Use standard mechanism to pre-load classes for the SecurityManager