Added java plugin to build script
Fixed errors, wraped Util.packPassport java function