Rename formats.js to config/formats.js