Change tree hierarchy. Add gui skeleton using Qt.