fix iterable serialization
  add waypoint functionality
  fix style, add to documentation