created PaintingManager class