add db & other base classes & helpers