Adaptive

New framework for adaptive operations