Adding API doc.
Merge pull request #2 from sierradata/api

Adding API doc.