Java bindings for the cgminer API