Create automatic help and documentation.

Both are related. The help needs to flow from the relative classes and the documentation is just a pretty way of presenting the help. its a big chunck of code, so I'll sprinkle some comments to ease the review.
I checked and there are not misspelled words in the commit.