Add code comments. Update README.