Added the "dbExists", "selectDb" and "tableExists" methods.