Added a Callback parameter to app.queryDB so the structure of the callback handling isnt so damn goofy.