Renamed Table::getDB() to Table::db()
Make base namespace configurable and use 'DB' as default