renaming core and adding export main.js
adding lib