Functional test now checks input
Refactor home page to use a template
Front page HTML now generated from a template