Defines the start and end point of a route