update readme with api documentation