Added htmlStatement method
Prep for "Replace conditional with polymorphism"
Refactoring step: Replace Type Code with State
Refactoring step: Move method