added HTML for styling tables

added <thead> and <tbody> to table for easier styling of generated templates.