Updated the API and README