Make the gateway take different parameters from a config file (config.json).