pushed QRCode implementation to class