Autoloading is deprecated from mongodb driver.

Switched to using get_database() and get_collection().