add create widget tool
Merge branch 'createWidgetAndTest'