Feature/symfony2 rest api