Working discovery using broker.
Updated huexample along the way