Rewritten the reithproxies script to use a config file to keep track of state