refactored to use templates, testing implementation instead of strings
Front page HTML now generated from a template