Update to work with Express 4

Hello, 

I've updated the server.js file and package.json files to make the project work with Express 4 API. I am new to node.js. Thank you for the code that you provided.

Hande