Mediator

Created Mediator pattern to decouple the app from the game states and messages.