close #48 Refactor setting storage.
Refactor setting storage related