catch errors if image can't be read
added framework for WallpaperGen class
WallpaperGen init method
added generate method