added an image class used in past projects - additional methods and refactor to follow