Documentation added and generated

Refactoring changes documented.
CHM file generated