Refactor webhook handlers
Merge pull request #508 from reviewninja/feature/refactor-webhooks

Refactor webhook handlers