Merge pull request #12 from mk270/master

generally tidy up the Python code; make it more idiomatic; split out photo lookup backend
PEP-8 fixes