Switch to YAML-based config