CVS/pharmacy inks deal for Main St. center