[bithorded/source/store]Refactor some stuff.