reorganize settings to use one module with an optional local module