Refactors how routes are handled in Cucumber features