refactor and remove GlobalSettings.kem

**please review**
Please rename this to `definitionLoader`. We currently also use the `loader` name for instances of `FileUtils`. This should avoid some confusion.