added beginnings of tree view for categories