Move area selection systems to the API, as well as a few other files.