add README.md
add example
fix some part of code