first commit of java wrapper