implemented reading variables from yaml-based config-files.