Updated the README.md to show how to use as a library