Updated the class to support MySQL Methods