Create device.nut

Initial working version, prior to May 2014