Moving global settings to a central class