Init the code for reflect demo