Initial plugin pattern for Auto Pageview plugin, refactored client config slightly