RESTful webservice for todoapp