Restful Java Server for the Todo app