Add RESTful endpoints for the TodoList model.