rehaul of templates
rename tmpl to routes