create rabbitmq class for php