rename main module to main.js and fix readme