Update library and add .gitignore