Explain why the Painter class exists.