Some progress towards broker argument parsing; not complete yet - will probably extact to a saparate shareable class, complete with its own unit tests.