Fix dir into repository
Query class

* Fixed pagination
Module locals

* Added default locals to module
* Modules are now provided by default per_page and page attrs
Module locals fix