Fixed the delete error message

Also added db.objects to list all objects and db.existsObject to check
the existsence