Fixed ptr logic in broker(). Moved calling card to config.h.