Added support for Pagination with doctrine paginator.
Added Extractor responsibility.