Creation of Image Classes: Improving code style