Add Painter class
Add widgets