Add template to index, add view to todo.js