Implement `FlushStore`
Merge pull request #5 from Incubaid/flush-store