Add CodeBook.md with comments
Update code with minor comment changes