Renamed routes to endpoints
Added ordering to endpoints for most specific path matching
Renamed remaining route instances to endpoint