moving 4store operations into a new class to facilitate mocking in unit tests