Initial version of run_analysis.R

Also, minor update to Codebook.