A singleton pattern object which serves as a MySQL database wrapper and an iterator result set object.