Implemeted QR code stuff for auto config