Improving GroundhogDB class. Related to #63