Added a new method to fetch all defined routes