Module UPS::Nut implements an object oriented interface to the Network
UPS Tools upsd.  
