adding skeleton for java implementation