Add routing. Split up templates.