Revert Route class back to normal and using a route factory method as suggested by @andrewmman