pushing up new UnitPainter class