refactor to clean up server.js
Merge pull request #1 from ptmccarthy/refactor

refactor to clean up server.js