improved object types, and creating memory repository