Rearranged node stuff by taking code out of server.js and putting it in routes.