a beta to message system design.
state machine scratch.
remove unused classes.