Added comments, fixed README.md, fixed typo