@@ -0,0 +1,303 @@
+import json%0Afrom os.path import exists%0A%0Aconfig = None%0A%0Adef load_config(path):%0A    if exists(path):%0A        with open(path, 'r') as cin:%0A            x = json.load(cin)%0A%0A    global config%0A    config = config or x%0A%0Adef save_config(path, config):%0A    with open(path, 'w') as cout:%0A        json.dump(cout)%0A%0A%0A

add config.py for configuration interface