API - Basic API calls

Function on the line 4 looks almost identical to the function on the line 20. Take a look if you can refactor them. Also keep in mind that you call a functions (line 12 and line 28.) which call queryDB but other GETs in other classes call queryDB instead of functions. If you think about it more maybe you will be able to refactor all GETs