Initial framework for widget.