add CodeBook.md and modify script and README