Basic setup of templates (tweaking to come).