Added package.json file and updated readme

Added package.json file which allows for installing all dependencies using ```npm install``` command and avoids globally installed node modules.