plugin re-write and adding of extra widget

plugin re-write including directory structure