Add packethandler