add first version with qr code api class