added package.json
working code