WIP Refactoring everything

Last & this commit:
Introducing a message passing system with EditorState as a type of
Receiver class for Command objects sent by certain HUD elements such as
button.