add shell script

add shell script and library
update readme

update readme