Complete rewrite of coding package with new DB struct and NodeDatasource interface.
DB is nun fully tested.