Merge querying functionality into the query models project from the separate projects.