update data.db, remove test data from appService.js, refactor appCtrl.js code to object programming