Add a class to access MySQL