clean todolist controller
clean code