Updated parser to return routes
Updated parser to return routes