add db related classes