add npm package.json and update structure to match npm