[CORD-1360] Using new config

Change-Id: Iee7c2c456cf45e131fef0330a6f657ad0080449f
diff --git a/xos/synchronizer/vtr-synchronizer.py b/xos/synchronizer/vtr-synchronizer.py
index 26b44df..8d397c7 100755
--- a/xos/synchronizer/vtr-synchronizer.py
+++ b/xos/synchronizer/vtr-synchronizer.py
@@ -5,7 +5,16 @@
 import importlib
 import os
 import sys
-observer_path = os.path.join(os.path.dirname(os.path.realpath(__file__)),"../../synchronizers/new_base")
+
+from xosconfig import Config
+config_file = os.path.abspath(os.path.dirname(os.path.realpath(__file__)) + '/vtr_config.yaml')
+
+Config.init(config_file, 'synchronizer-config-schema.yaml')
+observer_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "../../synchronizers/new_base")
+
+# observer_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "../../../../xos/xos/synchronizers/new_base")
+# sys.path.append('/Users/teone/Sites/opencord/orchestration/xos/xos')
+
 sys.path.append(observer_path)
 mod = importlib.import_module("xos-synchronizer")
 mod.main()