update main file in package.json and add lib to gitirgore
v 2.0
merge