Fixing gitignore and adding p2.inf file