add container controller sample
support autoply, hide control, refine code indent