Feature/symfony2 rest api

Updated