init Sketch class