Reworking Webservice into RESTful