Some initial design notes, scratch code from previous work.  Not ready.