Move routing into the server for now.

Eventually this may be broken out into its own, but
for the moment it’s not clear how to structure it.