Add query service