Moved Painter class to separate file