[tor-commits] [torouter/master] Move the configuration read/write functions to separate class