Let's add a bit of structure to server.js. Fair from ideal, but it's better.