Documenting some of the funciton in the Query class
Adding a few more doc blocks