adding base widget

Hi Roman,
Can you take a look at this and let me know if I'm on the right track?