add HostImage class