add guidelines file
apply a bit of coding guidelines, mostly whitespace changes