added html template for main site, other minor changes