improved readability and added some documentation to imageDB.py, also improved hashing to use a sha512 concatinated to a md5
Fixed formatting and changed a couple of for loops to mapped lambdas.
Fixed formatting in pictures.py and add.py.