Adding window and widget classes. Can now draw lines, circles and ellipses.