Associated Press hires its first general counsel