config parsing with yaml