Set first route, templateand controller.