added vvp function prototype
added java-side interface to vvp jni function
added c-side interface to vvp jni function
renamed a couple of variables for clarity and consistency. Further added a couple of FIXMEs