Added initial segmentation code.