create config file
refactor file structure to depend on config.js