entity manager setup with pimple