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.
These should be turned on when we solve the Json issue.