refactored BrokerAgent to create the Brokerage