Changing the Routre class constructor input