Adds a codebook to the repo