modify code and document README.md and source directory README.md file