Global keyboard hook class with RabbitMQ functionality.