update code and readme
1.0.0