Added a pagination class because the function is cumbersome.
Added a Link class to aid in creating simple links.