Rewrite of PacketSystem due to old one being bugged