Added Doctrine and Rest