Grooming

Style cleanup and basic documentation