added pff graph based segmentation technique
added functionalities to the UI and splitted up graph based segmentation
code