* Added helpers for keypath setting

* Added option for results to be nested
* Fixed table alias reference

* Fixed order of query build