Create README.md
adding comments to the code and removing unused code sections and console.log calls.