Todo RESTful service and cli interface