Created new segmentation module