refactor Report class for additional output formats html and plain text