global $adConfig provider added

+ code cleanup
+ paging config moved to $adConfig
Merge pull request #35 from kashyap02004/master

global $adConfig provider added