initial cut at adding the jni, does not build yet, still needs a working makefile