introduce ADS and MSF processes API support

this should probably be part of some finally block