Add client support for connecting to all brokers before raising the ready event.
Refactor Partitioner class: add class hierarchy.