updated HT class

- HT class now uses module method.
- reworked page styles so that code text is not using pre-whitespace