new class Query as data holder