Remove an outdated function from database.go
Refactor errors.go. Add a zoom prefix to all errors.