renamed ModuleApp into ModuleDatabase