move device settings to a separate struct