Fix JNI bindings
Move application class to .app package
Move Complex and Position to .util package