Updated code to release version. Added in API.php, a page that describes how to use the API.