create constructor for RouteCreator