Add routing and templates