introduce hecaioc_dsm and hecaioc_svm
fixed sync bug (now aplicaiton proces waits for controller to shutdown
heca).