Moved view widget into widget.py