Updated build script and server.js

Server now includes deployment