add package json

& changed readme for npm install