Convert RouteSystem to a class (function)
Instead of setting the data for a RouteSystem manually, use its constructor