initial version of qrcode decoder