Initial refactor for wallet qml