added XML initialization for GameObjects