Fixed parameters in config file default.js and created the promisied db manager called qdb