Update server code to run on express 4

Currently when doing `npm install` express 4 gets installed,  which makes `node app.js` fail to start


this updates the code to run using express 4