he had been a consultant , a strategist , an analyst , a fund-raiser , and a spokesman , and he had worked at the lower levels of a few election campaigns of congressmen and senators , both democratic and republican .