Added a factory class for widgets.
Added an image for the refresh button.