Painter 리팩토링