draft for brush painter
State module responsibility
already connected to outlinePainter
make it works
start testing outlinePainter
rect outlinePainter tested