This struct will serve as a container of all the query-class dependent configuration such as the semaphore to be used and the memory limit for unlimited queries. As there is no good place to put this, we create a separate header for it.