Pagination

Pagination fully working.
Maybe need a little refactor :P
any reason to keep this ?