Refactor HtmlDocument.java to get rid of static imports
Extract classes for different groups of slides