Moved the todo list to the database.