REF: continue breaking up device_sketch into modules. kind of compiles. more to come.