add db manager class