separate the absprocess into libs/utils