final codebook commit

thats it for now.