created a DeviceManager to manage device details