Divided responsibilities of AgentGenerator into two classes.
Removed inheritance from analysis methods. Deleted FinalStateAnalysis.