Move cfg defs into standalone file for ease of editing