Added more code comments and additional detail to the README.md file