Data structures and partial implementation for Query
Merged