Split SmrtHmlReport into Report and Writer classes