fixes style consistency problem

the name "petrarch" should either be written as 'code' or not.
adds contributing guidelines to docs