move control of db connection to FMPDO class, so that we don't have to pass the DB config array around