Controller added to control the RESTful calls.