Removed a file that was not in the repo.
Added a function to shortcut JPEG encoding functions
Removing more unneeded code.