Xively wrapper for Java