Format app.js to prepare for moving controllers to separate file