Refactor rendering template. Separate Table, table rows and details in individual template file.
SMI style MAX access for table column.
Add: Debug option for template debugging