HOPKINS: Convert route lists into structs
HOPKINS: Extract utility function for appending linedata to route list