Reworking class loading so JNI classes automatically call for the native library when loaded