DigitalOutput: start work on state persistence