Created db.js and CalendarView.js from Salter's code