added add, and delete functions to todo app