QueryResults-initialize function

Initialize the QueryResults object.