Add basic Query functionality and tests
0.0.11