Updated README to add API and an Example.