Added Comment and ApplicationXML

Also updated the document decomposition picture.
Create a more generic example class

It can be extended to include description and schema, which follow the
same pattern.
Version 0.1 - file output, cleaner output, still not refactored

this version works, and generates output to a file, but does not
represent the tight refactored code.  End of Phase 1