Added the db.types package to setup.py

Fixed some import errors because the setup was not set up right.