refactor and remove GlobalSettings.kem

**please review**
@traiansf, you should go to bed earlier... :)