Added image class with save to file functionality.