[Entity Manager] First implementation.