making router templates