add package script, update README.md, add some exception handle