set up mvc and mediator pattern files