completed basic adding and editing of todos