eased replacement of Route
Merge branch 'new-route-object' of https://github.com/anlutro-pull-requests/framework into anlutro-pull-requests-new-route-object
Clean up code and rename method.