REF: start to break up device_sketch.rs into a crate with modules - does not yet compile