Starting JNI implementation