Added Gamestate, XML loading methods, and an XML template for Gamestate.