Added Broker class

Fix #82