The Use and Control of Grain Boundaries in Thin Films