Very basic templating and html generation.