Started adding CRUD to the sample main.js file