abstracted config.js
removed console.log
deleted old config as it lives in own file now
starting to mess with pagination