Move all the config.json out and meet the new -config structure