added config.js, const.js and error.js