Add all the control logic to a pyside class. First GUI made with Qt.