Add missing data files
Refactor storage of referenced territories