Text this: Projectivity and flatness over the endomorphism ring of a finitely generated module