Merge pull request #22 from areese/add_jni

initial cut at adding the jni, does not build yet, still needs a working...
Fix all checkstyle warnings and re-enable it