Adding PIN library and editing .gitignore as appropriate.