Implement Stringer
Handle error when opening db