introduce ADS and MSF processes API support

please check if the result is OK, if not, throw an exception