Buffalo getting $3 million to boost educational initiatives