Move class Setting to separate module "device"