Updated template generation to accomplish similar table html outputc as JS was.
Added links and such to the template.