Added top-level index file to expose main interface and included package.json
Fixed npm package config