Refactoring

The Planner was refactored.

The code is not clear. It is necessary delete several instructions.
There is a simple hierarchy wich contains the basic functionality.
It is necessary generate wrapped for the NodeTemplates.