Factor protocol parts out as separate files
[Temp] Add Majordomo broker, not finished yet