Adding SegmentManager, config

Segmentation manager functional