move logic to Mediator class

TODO: Install PubSub from Mediator to Player and BaseScoreKeeper.
TODO: Move tests from appSpec to MediatorSpec.