added package.json
license
adding in lib directory