refactor and remove GlobalSettings.kem

**please review**
Can you put this on a single line?