start of drawing class for canvas 2d context