fixing cPacket after removing PACKET struct, fixing class dynamic array