config moved to yaml, redundant config removed
diff --git a/config.py b/config.py
index b877bb3..3db7547 100644
--- a/config.py
+++ b/config.py
@@ -1,19 +1,17 @@
+import yaml
 import os
 
-basedir = os.environ.get('DATABASE_FOLDER', os.path.abspath(os.path.dirname(__file__)))
-DOCUMENT_ID = "1Xvd0aHA7mr-_b5C3b-sQ66BQsJiOGIT2UesP7kG26oU"
-SHEET_NAME = "aaa"
-WORK_SHEET = "Worksheet"
-COL_COUNT = 2
-ROW_COUNT = 10
-DEFAULT_FILE_PATH = "test.json"
-OUTPUT_FILE = "output.json"
-TEST_PATH = os.environ.get("TEST_PATH", os.path.dirname(__file__) + "/test_results")
-CHARTS_IMG_PATH = "static/images"
-SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository')
 
-if os.environ.get('DATABASE_URL') is None:
-    DATABASE_URI = ('sqlite:///' + os.path.join(basedir, 'app.db') +
-                               '?check_same_thread=False')
-else:
-    DATABASE_URI = os.environ['DATABASE_URL']
\ No newline at end of file
+def parse_config(file_name):
+    with open(file_name) as f:
+        cfg = yaml.load(f.read())
+
+    return cfg
+
+
+cfg_dict = parse_config(os.path.join(os.path.dirname(__file__), 'config.yaml'))
+basedir = cfg_dict['paths']['basedir']
+TEST_PATH = cfg_dict['paths']['TEST_PATH']
+SQLALCHEMY_MIGRATE_REPO = cfg_dict['paths']['SQLALCHEMY_MIGRATE_REPO']
+DATABASE_URI = cfg_dict['paths']['DATABASE_URI']
+CHARTS_IMG_PATH = cfg_dict['paths']['CHARTS_IMG_PATH']
\ No newline at end of file