Modularized pagination functions

Pagination stuff has been set up across the current
pages in the admin panel