cleaning up todoController.