severely simplified ModuleManager