Improved Query Class by adding getData() function
The getData() function will call the correct function as getMeasurements() etc. depending on the keyword used in the constructor