adjust to new interface, remove obsolete externals

Get rid of external "elementtree" and update scripts for new DB interface