Work with handlers as service

According this <a href="http://welcometothebundle.com/symfony2-rest-api-the-best-2013-way/">guide</a> the best way to work with REST APIS is using handlers. The model of work was implemented based on this guide, but with other functionalities.