Write queryDB.js and integrate it