updated mastermind file, created ui control using master publisher. also created state machine