More code re-styling and documentation.
More documentation and re-styling of code according to new rules.