refactor and remove GlobalSettings.kem

**please review**
:+1: