reorganized classes, removed processoutput