Segment class and factory