add NetPacketHandler class