restruct CustomizedSegmentor

i've restructed the segmentor code and try to reduce the size of newly added code. the original version of otcws works normally, but i've test it on incremental training process.