import yaml
class Config:
    def __init__(self,path):
        with open(path, 'r') as yaml_file:
            self.__config = yaml.load(yaml_file, Loader=yaml.BaseLoader)
    def get_config(self, application):
        return self.__config.get(application)