add example code in readme,update version to 1.0.5