Setup for AI behavior

Setup the framework for the AI behavior.  Also put in most of the attack
behavior.