Created a global 'class' method to declare classes.
Doc parses the preamble OK
Improved auto-doc tool with Latex support (creates images) and inline styles.