create_broker function

Create a broker object