Wired up query service and automapper