Add support for routing
Some refactoring, formatting, and comments
Add the RoutingTest demo app