Added constructors to the Packet class