Renamed /payload to /buckets to better reflect concepts. Minor tweaks to the API and docs