Code standards

No changes to logic, only coding and documentation standards.