added index_of_item to model
added reftrackroot
added remove rows to treemodel, added getter to reftrack and started updating delete to update the model