implemented add-todo feature