Implementation with a coupled Resource.
Updated
Publish–subscribe implementation
Mediator pattern implementation
Decorator and Mediator pattern implementation.
The Model is now decorable and the Mediator is a decorator