added ex-templates and controllers