Working code for route and bus search.