Push before I format PC

- Inserting source image's MD5 sum into database to make it easier to
check for duplicate entries
- Started working on clean/fix mode
- Moved some functions to helper.py