Pet class with name and image