Add package.json

So you can npm install to get the dependencies.
Restructure other set data. Breaks backwards compatibility.