implement configuration loading (yaml)