Updated MainPacket to extend Packet