fixes #2, #3, #5, fix some typos, and add installation section in README