Added CsdQueryClient code in StoredQueryManager