Rewrote app.js to serve up everything we'll need.