updated Todo with view, add, and delete functionality