Rename `getPath` to `plan`
Make planner options more general
Improve docs