Classloading task. Refactoring