Remove unused old constants
rename scanErr to generic err
Load nations from database