Refactored server initialization code out of server.js