add MainMediator and SubMediator