Add widgets.py

Adding the file widgets.py