Add 'main' to package.json

... so that it can be used as an NPM module..