add index.js
added package.json
added LISENCE
created directory lib
get moved to lib