rename config_data -> cfg (concise, and that's

the convention we're using elsewhere (especially in plugins)