First draft

Initial drafting of experiment code, mostly still skeletal.
Some design and input questions to be resolved.