Create class.photoHandler.php