Adding layout to templates, some styling