Load and use configs from yaml
Example yaml