replace the backend with Doctrine ORM