refactoring webhooks from main module file, adding configureable webhook URLs for validation