Returning modules from module loader