global $adConfig provider added

+ code cleanup
+ paging config moved to $adConfig