Rewrite README and fix typos.