Updated Pagination to be easier to use

Solution for issue #1