Made the code more readable, added Codebook.md