Small Code Change and Add CodeBook.md

Made a couple code changes to make if more consistent for best practices
purposes.  Also create the CodeBook.md file.