add .gitignore to library