renamed py file and created main widget class