adds more code organization to PicShrinker