public Resource get_dbh();
Gets a database handle, connects if need be. Returns a handle to the database.