create tooltip handler class