gen_waypoints directly from mem, remove gen_waypoint.py