html page now works-ish, need a ton of cleanup in templates