form method added to View Factory
form for template added
stopped using index and put templates in application view
added edit and new methods to api in app.js
added newToDo and editToDo methods to router
cleaned up api code