Lhings library for Java based devices