Initial working model

Just made it work.  Finally was able to set the node types!  Made
things a lot easier.  Still a bit of a hack though since I need to be
able to access the nodes values in an elegant manner up and down the
lists.