added .npmignore file
fixed "main" property in package.json
simplified lib compilation slightly

mainly got rid of unused options