placing main.js default file to package

making life easier for the user and preventing an initial error, added a main file in the package to be read as default