Routing and querystring formatting support

This is my proposal for issue #64