Setup for NPM

Fixes #7