Update to match v1 Iotiva API changes
Added unit tests  (not vert robust. still a WIP)