Blessings in the First and Third Person

A friend of mine and I were studying the berachos (blessings) we recite on a mitzvah and were wondering why we start out talking directly to Hashem, and then we switch to third person for the end of the beracha.