Add broker for testing and maybe prod in future
Modularize broker for use in test cases
Run a broker in daemon testsuite