fleshing out mysql driver
merging in misc changes