Created DeviceNotifier class /old