Reorganize, use a template for HTML.