version:3 sorted the whole thing into Processes, added a StateManager.