add .gitignore file and ignore Library folder