Clean up router configuration

This is very work in progress but it shows how I plan to document and split the router configuration into smaller chunks. I have used the session and parser plugs as examples. Feedback so far is welcome.
Something like that, yeah. I still haven't figured it out though. For now just tackling the compile time stuff. :D