Added generictreemodel.py