Add new API to init context with darklaunch