Add dataset and codebook