First commit of Segment utils