add package.json
clean code, make it work