add Packet class