Update and rename widget.py to widget.pyx