Renamed segment_parser to SegmentParser