Made ProcessFunction class public
Also added getProcessName method