Updated the readme to include information about the API. Fixes #7.