Create device.nut

Device code for the electric imp