added routeinfo class and test