Modularity updates to moduleLoader and both the orm and odm modules

Associations mainly