implemented pen with revealing module pattern. Pen has properties for color, thickness, smooth etc.