move register Packet class from packetpipeline to @mod class