renamed some stuff, centralized logging, added NYT corpus test