-added DeviceId class, implementation partialy made for IOS