statecontext class in. prety heavy stuff, commiting before refactoring to a 2-phase protocol: modules stage chnages/deletes first transiently (only module itself can see changes), then a persist occurs, which allows all to see the changes.