Add an options array

* allow the max_depth to be configurable
* add a page_limit option