Implemented makeRelative for the new router.

Switched the samples over to use the new makeRelative functionality.