made processhelper private and cleaned up unused stuff