adding the delete function and APPLIST DB class