Added codebook, cleaned up column names and code

Added codebook
Modified logic to filter only for mean() and std() subset
Some code cleanup