The system of claim 15, further comprising a plurality of devices including the current device, wherein each device is coupled to the device manager through a description of each device conforming to a device application programming interface (API), wherein each device description includes at least one of an activity model, a device-specific DMS, a device-specific NPRS, and code implementing furth