refactor and remove GlobalSettings.kem

**please review**
Why do we have to go through `KExceptionManager`? Why not have our own exception hierarchy and say `throw new SomeException(...)`?