adds Mediator and data service for db queries