refactor and remove GlobalSettings.kem

**please review**
What is this class doing? Can we at least add module-level documentation?