KeyValueStore, ObjectFactory and ModuleFactory