add sleep model
merge code and remove ble from SettingsActivity