Basic MySQL wrapper class.