Added routing for templating