Added TrackSegment class