[task] viewhelpers, namespaces, autoload.php deprecated code cleanup
[task] ts constants grouped and ordered