Front page html now generated froma a template, started green lighting some tests in functional_test.py