Snapshot of SCDL data model work.

Lots of progress towards getting this working in onm under node but still a few broken paths to track down and fix.