add PainterManager to manage all the Painters.