made qr.py use the google API directly, also did a neat thing with a dictionary