Migrate applyContext to olap.js. Make configuration loading uniform across apps.