refactor and remove GlobalSettings.kem

**please review**
Oh, this comes from `javax`. I thought it is our own creation. Yuck.