Split ImageManager.php into one file per class.