v2 !

Huge amount of hacking.
Adding some supports for keen.io
Also doing a better job at getting the history from the device.