Addition of codebook and mods to R code and Readme file