Added Polygon class
Added custom mask for WebGL