[stores] StoreClass TODO: accept context with event handlers