Cleaned up the routing

This included moving to a more modular pattern for loading routes via
modules and dumping a lot of old commented code that I left around
while I was refreshing my memory on this stuff.