Started framework for SMConditionToStackMobQuery. Will continue… after beer.