Refactored Foton to use instance methods and pass an instance of ImageInterface between methods.