Centralize settings concerns in settings.cpp/h