simple java card classes