Updated main reference so NPM module works as expected