Added get_route_cache() function to DSR. Added better input checking to CLI