Add a base class Widget/change Grid to a subclass inherited from Widget