store add memory support based on goleveldb