MainFrame created
reference to PaintComponent updated
PaintComponent created
Figure interface added
Polygon class created