Approximations and Endomorphism Algebras of Modules