added waypoint class