add addTodo and removeTodo to controller