Output HTML Content-Type meta tag
Output HTML for main text block

Also refactored setting class attribute
Added the ability to include stylesheet links
I am rendering valid HTML, with CSS!!