Fixing gitingnore and add p2.inf file