Updated wx_example2 to use Mediator and modelstore.