Added config.json, read config from json, command line parameters