Work in progress commit - basic code in place - further work needed to get first experiment working.