Coin class structure