Transformation from XHTML + config + anntations to browser-ready HTML5 now done through separate class