Improved code styling, README.md and CodeBook.md updates