Pulled PDF and image processing into a separate module