Moved todos array int app.js

now inject todos array into GET/ and POST/todo.json routes