Moved packets.h from the config to the main lib.