Symfony2 Image Gallery Managment Project. Compatible with Doctrine ORM