Moved process logic into ProcessBot