Created MapArc class and made waypointcurve a child class.