Prefix template URLs with a slash
Major refactoring, both on the client and on the server