Implemented the RESTful Webservice