Adding db classes