remove minimist & readline-sync
reorgnize code

use dbconfig.js to store the credential