reworked whole project, for now without a QT frontend