Using a model to represent a route