Finished working on the routers.

Sessions are implemented on a top level now.