Improved affordance learner completed with option on how to count actions. Subgoal base classes added, basic methods implemented (full subgoal planning not yet functional)