Adding the JNI files
Adjusting some things