Base class and utilities to create analysis documents, HTML for now.