Cleaned up the magicModules
ORM Module now works and loads all the models (no associations yet) - need to port orm.json ( and config for that matter)
Updated the module loader to have a lightweight "hooks" implementation for ModuleClasses and changed the firing order of some functions