Use Hautelook TemplatedUriRouter library

... rather than duplicating things.