Move ChainRouter out of config.go into its own file.