added getModuleFromPar, renamed findModuleByPath to findModuleFormPar and used these