[REFACTOR] Introduction of enum ModuleTypes, refactor classPath to physicalClassPath