add success and warn helpers (for pushing messages)
use of $view to enable view clonning
add functions scope + htmlentities on html mode