Add author to README.
Refactor and fix exception issue.