implment repository for the bigtable.