Adding a PaginationAdapterInterface

Just wanted to get some opinions on these changes before I document them and learn how to write unit tests and update the unit tests/add my own.

This is not a complete pull request, if this is not the proper way for me to do this please let me know. I haven't made many pull requests to projects yet!