Made Image class way more modular and object oriented