bootstrap first map model and command then map mediator