Separate get handler

More work on segmentation, sweepHanlder, utils class.