A basic class for creating easy pagination lists