Router examples

Don't use `os.Args` in a non-`main` package, pass in the out `io.Writer`.