separated config.js from main.js