create config file
refactor files to depend on config.js