Hook up mediator to register resources and components