Restructuring the Pagination Adapter and renaming
namespaces/classes/interfaces to use better naming conventions.