starting to sketch out new model interface for xml2db and initfromdb. And a few other classes that will be used