Added some comments to the API module