update README.md and refine code style