Added handling for page numbers not being equal in ImageProcessor, new package for exceptions