Pagination

Pagination fully working.
Maybe need a little refactor :P