Baruch atah Hashem, Elokeinu melech ha'olam, borei minei mezonot. Blessed are You, Hashem our God, King of the universe, who creates various kinds of nourishment.
Baked goods and cooked dishes made from the five grains (wheat, barley, spelt, oats and rye) get Borei Minei Mezonot.
Someone who eats a large amount, enough to make a meal of it, treats it like bread. For a question like this, ask a rabbi.
After eating: The short three-in-one blessing, Al Hamichya, after eating a kezayit.
This follows the common ruling of most poskim. For different customs or a specific question, ask a rabbi.