Extract method to process events to a new class and add authorization and organization to webhooks