moved main js file and fixed up package.json fields