References for `Database`, `Table` and `Collection` classes have been moved into Db._subclasses.

It will be helpful to easy override this subclasses.