* initial lazy variables resolution.
* refactor debug to have Commands and Events.