Massive refactoring into something more familiar.  Getting the fighting value works. Added 5am for unit testing.
Need to ignore a bunch of stuff.