load configuration from yaml