added add button feature and created a todo controller