changed settings file to JSON format, loading in config file values first with option to override from command line parameters