Split the API interface up from the rest of the Todo app.