Added "main" property to package.json for NPM.
Preliminary documentation.