completes Mediator and data service for db queries
Merge pull request #2 from scottjason/mediator

adds Mediator and data service for db queries