Started refactory.

Decision node based only on decision and not environment. This wll
drammatically decrease the memory used. On the other hand the strategy
based on the decision tree will need at least an instance of the
environment.