Xanthan gum is used as a binding agent in doughs and acts as a stablizer, and is perfect for creating gluten-free flours. On Pastry Sampler, I've shared a couple of different recipes to try for gluten-free flour mixes a basic recipe based on rice flour and another based on bean flour. I personally prefer the bean flour but the rice flour has a much milder flavor. Either one can be used in baking.
Xanthan Gum Properties and Gluten-Free Flour Mixes