Implement image class