Refactor build and packaging
Dist build
pointing main to index.js