Sketches in real broker implementation, stubs out tests.