implemented full storage and retrieval for entities in the world