Added an API reference to the readme.