Moving the HTML generation from the Post object

Now category to generate HTML
Uses template in bundle