Combined HTML parser and visual representation

to do: refactoring and cleanup