changed app to store config data in yaml file