Moved many functions from ModuleRegistry to ModuleHelper, as they don't really have anything to do with registering modules, but rather they help use the registered modules