Initial commit of main vBroker function