move zone management stuff into GApp.as