Set up initial data structure.
Merge branch 'master' into tingbranch
got rid of early node model.