[PLAT-5023] Added component factory for InMemoryOrganizationMaster