Refactoring for play range

Preps for executing a range within a closure
Data model

OnAllSet and OnClose are action ranges, and should be defined as such