Initial code for recovering WDTK objects from the DB