Fixed the color of the end point
Introduced some class to represent the draw data