Added a Callback parameter to app.queryDB so the structure of the callback handling isnt so damn goofy.
Code Cleanup: Moar DRY!
Code Cleanup: Removed map because itll never be implemented.