adding createregistry function
adding packetlist