Simplified and documented loader file

Refactored loadModuleTemplates into mycommon.
break out module templates into separate files

- refactor to build ModuleLoader
Templates now work in debug and release