Add the Register JNI function

RegisterNative() to load the JNI function