made the PacketLibrary serializable.