added command line parameters to define mongo connection string + exchanged config.js with config.json