Class for the HTML generator. Various functions to generate HTML pages and snippets from the elements in the repository