Added functionality to store the buckets and the data in the append-only store.