Add Polyline class and use implementation from love2d, the draw method is not fixed yet