Added some missing essential code comments, and updated the README to reflect recent changes.