fixed no references to termbank class and added several mehtods to access database for cluster email group