`InMemoryStorage` struct which implements `StorageEngine`, should take care of atomicity and concurrency as much as possible.