Let first query be implemented to serve as an example
Reorder query library methods to reflect order of the GUI