Refactor worker so that it is no longer a QObject.