Refactor the battle graph stuff out into its own class. It's eating for two now.