add codebook, fixed readme