Made doc model common.
Started adding a Markdown generator.