Various updates, including usage of json config file for parameters