it might be simpler to just name this `InternalSettingsPreparer.prepareEnvironment` and return only `Environment` since it has the settings already as a member then we can spare the tuple and things are less funky? 