moves template routes from Controller to Templates module