simplify the definition of the Routes by not using pointers.

(pointers are still used internally)