Change format of data.js to export array immediately
Added local.js file for local storage