[CORD-3022] Splitting config and removing unused files

Change-Id: I69b93d6cef9d6b556bb528f59bd854cf8e3b7d16
diff --git a/xos/synchronizer/vspgwc-synchronizer.py b/xos/synchronizer/vspgwc-synchronizer.py
index 4482d7d..ac9a540 100755
--- a/xos/synchronizer/vspgwc-synchronizer.py
+++ b/xos/synchronizer/vspgwc-synchronizer.py
@@ -21,11 +21,15 @@
 import sys
 from xosconfig import Config
 
-config_file = os.path.abspath(os.path.dirname(os.path.realpath(__file__)) + '/vspgwc_config.yaml')
+base_config_file = os.path.abspath(os.path.dirname(os.path.realpath(__file__)) + '/config.yaml')
+mounted_config_file = os.path.abspath(os.path.dirname(os.path.realpath(__file__)) + '/mounted_config.yaml')
 
-Config.init(config_file, 'synchronizer-config-schema.yaml')
+if os.path.isfile(mounted_config_file):
+    Config.init(base_config_file, 'synchronizer-config-schema.yaml', mounted_config_file)
+else:
+    Config.init(base_config_file, 'synchronizer-config-schema.yaml')
+
 observer_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "../../synchronizers/new_base")
-
 sys.path.append(observer_path)
 mod = importlib.import_module("xos-synchronizer")
 mod.main()