add tool interface to make database utils configurable