Rename credentials.js to config.js and store base_domain.