Port time series store to leveldb