updating code to use new Route implementation. Adding route logging