reversed to original changes. Here is the plan to use CDP and genarate only device code with host wrapper..