refactor and remove GlobalSettings.kem

**please review**
It's fine for now.