added classes treeitem and treemodel to represent browse data