finished refactoring server.js into separate app/routes.js and models/todo.js