adding database objects for treestore queries and results