Update library and README.md

for issue #19