Initial Java bindings