First implementation of minimal Broker API

Agreed! It's nasty pushing around the context from the application level, but options against this are limited at this point.

Vms uses the factory pattern to centrally manage the context and only the factory can create stuff. In a future revision that might be an option.