UNTESTED CHANGES
more sql to add tblTHElement and others
new classes to handle these new items