added the GatewayCollector.php class