Moved cql and dbClient into dbUtil.js.