QR decode and create functions added