MainCMD was custom oops
rename broadcast state saving
use camelCase messages