create config file
refactor files to rely on config.js