legacy: fix for imports and module renaming

* Adds several missing models for new tables.  (addresses #1790)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>