Route class added.
hasRoute() method is now under Route class.