Remove blank lines at EOF
Rename and add route functions
Export some RouteDef properties
Add helper functions for re-routing
Implement re-routing
Fix route parent bug and add note
Update tests