made it possible to pass mongo connection properties and log file location from commandline