Work on search list to unify logic for device and route searching and simplify router and host implementation